ComponentOne Slider for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1ReportViewer.ReportService Namespace / C1WebReportServiceHelper Class / ExportToFile Method / ExportToFile(String,String,String,Dictionary<String,Object>) Method
The document key.
The format.
Optional. Exported file name.
Extra Options: Pdf security setting.

In This Topic
    ExportToFile(String,String,String,Dictionary<String,Object>) Method
    In This Topic
    Export the document specified by documentKey to the specified format and returns url that can be used to download file.
    Syntax
    'Declaration
     
    Public Overloads Function ExportToFile( _
       ByVal documentKey As System.String, _
       ByVal format As System.String, _
       ByVal exportedFileName As System.String, _
       ByVal extraOptions As System.Collections.Generic.Dictionary(Of String,Object) _
    ) As System.String
    public System.string ExportToFile( 
       System.string documentKey,
       System.string format,
       System.string exportedFileName,
       System.Collections.Generic.Dictionary<string,object> extraOptions
    )

    Parameters

    documentKey
    The document key.
    format
    The format.
    exportedFileName
    Optional. Exported file name.
    extraOptions
    Extra Options: Pdf security setting.

    Return Value

    Url to exported file.
    See Also